    <?php if($this->session->flashdata('successmsg')): ?>    
      <div class="successmsg alert">
        <a class="clostalert">close</a>
         <?php echo $this->session->flashdata('successmsg'); ?> </div>
    <?php endif; ?>   

    <?php if($this->session->flashdata('infomsg')): ?>
      <div class="infomsg alert">
        <a class="clostalert">close</a>
       <?php echo $this->session->flashdata('infomsg'); ?>  </div>   
    <?php endif; ?>   
    
      


    <?php if($this->session->flashdata('errormsg')): ?>          
      <div class="errormsg alert">
        <a class="clostalert">close</a>
        <?php echo $this->session->flashdata('errormsg'); ?> </div>
     <?php endif; ?>   
       
     <?php if($this->session->flashdata('alertmsg')): ?>     
      <div class="alertmsg alert">
        <a class="clostalert">close</a>
         <?php echo $this->session->flashdata('alertmsg'); ?> </div>
      <?php endif; ?>   
        
     <?php if($this->session->flashdata('infomsg2')): ?>   
      <div class="infomsg2 alert">
        <a class="clostalert">close</a>
         <?php echo $this->session->flashdata('infomsg2'); ?>  </div>
     <?php endif; ?>   